package io.github.wanggit.antcms.server.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("ant_media")
public class AntMedia implements Serializable {
    private static final long serialVersionUID = 713826231528464762L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /** uuid.png */
    private String fileName;
    /** 原文件名 image-13.png */
    private String originFileName;

    /** 文件类型，比如 image/png */
    private String fileType;
    /** 大小，字节 */
    private Long fileSize;
    /** 图片宽度 */
    private Integer fileWidth;
    /** 图片高度 */
    private Integer fileHeight;
    /** 替代文本 */
    private String alt;
    /** image-13 */
    private String title;

    private String remark;

    private String url;

    private Boolean wasImage;

    private Date uploadTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public Integer getFileWidth() {
        return fileWidth;
    }

    public void setFileWidth(Integer fileWidth) {
        this.fileWidth = fileWidth;
    }

    public Integer getFileHeight() {
        return fileHeight;
    }

    public void setFileHeight(Integer fileHeight) {
        this.fileHeight = fileHeight;
    }

    public String getAlt() {
        return alt;
    }

    public void setAlt(String alt) {
        this.alt = alt;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getOriginFileName() {
        return originFileName;
    }

    public void setOriginFileName(String originFileName) {
        this.originFileName = originFileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getWasImage() {
        return wasImage;
    }

    public void setWasImage(Boolean wasImage) {
        this.wasImage = wasImage;
    }
}
